package org.dromara.basic.domain.bo;

import org.dromara.basic.domain.TeachClass;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 教学班级业务对象 phy_basic_teach_class
 *
 * @author chl
 * @date 2024-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TeachClass.class, reverseConvertGenerate = false)
public class TeachClassBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long classId;

    /**
     * 行政班级
     */
//    @NotBlank(message = "行政班级id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptId;

    /**
     * 年份
     */
//    @NotBlank(message = "年份不能为空", groups = { AddGroup.class, EditGroup.class })
    private String grade;

    /**
     * 人数
     */
//    @NotNull(message = "人数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long headcount;

    /**
     * 班主任id
     */
//    @NotBlank(message = "班主任id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String teacherId;

    private String className;

    private String teacherName;

    private String gradeLabel;



}
